Skip to main content

Facebook Marketing

info

Chaos Genius uses Airbyte's Facebook Marketing to sync the following core Streams:

In addition, this source is capable of syncing ad insights as a stream. Ad insights can also be segmented by the following categories, where each segment is synced as a separate stream:

  • Country

  • DMA (Designated Market Area)

  • Gender & Age

  • Platform & Device

  • Region

The segmented streams contain entries of campaign/adset/ad combinations for each day broken down by the chosen segment.

For more information, see the Facebook Insights API documentation.

To connect Facebook Marketing as a data source, you will need the following information:

  • Access Token

  • Account ID

  • Insights Days Per Job

  • Insights Lookback Window

  • Start Date for syncing data

FB Marketing

To setup Facebook Marketing, follow these steps:

  1. Follow the Facebook documentation for obtaining your Ad Account ID and keep that on hand. We'll need this ID to configure Facebook as a data source.

  2. Next select your App and from the App's Dashboard screen enable the Marketing API for your app if it is not already set up.

  3. In the App Dashboard screen, click Marketing API --> Tools on the left sidebar. Then highlight all the available token permissions (ads_management, ads_read, read_insights) and click "Get token". A long string of characters should appear in front of you; this is the access token.